package com.zjw.designPattern.singleton.enumType;

import lombok.Getter;
/**
 * 线程安全，最优推荐使用
 * */

@Getter
 public enum SingletonEnum{
    INSTANCE("张佳伟");

    private String name;

    SingletonEnum(String name) {
        this.name = name;
    }
}
